package com.ciaojian.client.model.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 提交企业剪的参数
 *
 * @author Atlakyn
 */
@Data
@Accessors(chain = true)
public class BusinessCutParam {
    @ApiModelProperty("提交人id")
    @NotNull(message = "请填提交人Id")
    private Integer userId;

    @ApiModelProperty("企业名称")
    @NotBlank(message = "请输入企业/团队/个人名称")
    private String name;

    @ApiModelProperty("地址")
    @NotBlank(message = "请输入详细地址")
    private String address;

    @ApiModelProperty("联系人")
//    @NotBlank(message = "请输入企业联系人")
    private String contact;

    @ApiModelProperty("联系电话")
    @NotBlank(message = "请输入联系电话")
    private String telephone;

    @ApiModelProperty("预约时间")
//    @NotNull(message = "请选择预约时间")
    private Date time;

    @ApiModelProperty("其他需求")
    private String other;

    @ApiModelProperty("添加时间")
    private Date createTime;
}
